package cn.scxy.bookcity.mapper;

import cn.scxy.bookcity.pojo.entity.Banner;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface BannerMapper {
    List<Banner> list();

    int deleteById(int id);

    int insert(String url);

    int update(Banner banner);

    String selectUrlById(int id);
}
